mm/mempolicy: Limit policy ignored messages#7187
mm/mempolicy: Limit policy ignored messages#7187pelwell wants to merge 1 commit intoraspberrypi:rpi-6.12.yfrom
Conversation
Reduce log spamming by limiting messages about policy changes being ignored to 5 consecutive messages per task. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
@popcornmix I get large numbers of these message on some systems and not others - often |
|
Just to confirm, does the spam always say |
|
I'll have to find the image again to be sure, but I think the answers would be "Yes", "No" and "Yes". |
|
The reason I'm asking is this was an issue long ago where the presence of libnuma1 caused ps to try to change mempolicy. It turned out that was unwanted (upstream) behaviour and by bumping to a newer libnuma1 resolved it. Just want to make sure we haven't lost something in our build of libnuma1 which may be the better fix for this. |
|
The two images I've found that generate the spam are both Bookworm. Updating libnuma1 from 2.0.16 to 2.0.18 does seem to have fixed it. |
|
The fact that bookworm has access to a newer version of libnuma1 without this issue means that I'm happy to close this PR. |
Reduce log spamming by limiting messages about policy changes being ignored to 5 consecutive messages per task.